<?php
$this->breadcrumbs=array(
	'友情链接列表'=>array('list'),
	$model->aid,
);

$this->menu=array(
	array('label'=>'List Ads', 'url'=>array('index')),
	array('label'=>'Create Ads', 'url'=>array('create')),
	array('label'=>'Update Ads', 'url'=>array('update', 'id'=>$model->aid)),
	array('label'=>'Delete Ads', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->aid),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Ads', 'url'=>array('admin')),
);
?>

<!--<h1>广告详情 #--><?php //echo $model->aid; ?><!--</h1>-->

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
//		'aid',
        array(
            'name' => '友情链接地址',
            'type'=>'raw',
            'value' => CHtml::link($model->url,$model->url),
        ),
        array(
            'name' => '介绍',
            'type'=>'raw',
            'value' => $model->title,
        ),
        array(
            'name' => 'img',
            'type'=>'raw',
            'value' => CHtml::image(Yii::app()->request->baseUrl."/images/gallery/".$model->img),
        ),

//		'cid',
	),
)); ?>
